package com.orcamento.dao;

import java.util.List;

import com.orcamento.entity.Fund;

public class FundDao extends AbstractDao<Fund> {

	public FundDao() {
		super(Fund.class);
	}
	
	public List<Fund> findAllByAccount(Long accountId) {
		return super.findAllByAccount(accountId);
	}

	public Fund findByIdAndAccount(Long id, Long accountId) {
		return super.findByIdAndAccount(id, accountId);
	}

	public Fund save(Fund fund) {
		return super.saveEntity(fund);
	}

}
